<?php
require_once dirname(dirname(__FILE__)) . '/shared/config/config.php';
require_once DOCUMENT_ROOT . DIR_INCLUDE . 'html_generator.php';
$on = filter_input(INPUT_POST, "check");

api_general::set_option("email_activation", $on);
echo $on;